package com.jsy.mini12306.ticketsales.vo;

import com.jsy.mini12306.common.entity.SeatType;
import com.jsy.mini12306.common.entity.Train;
import com.jsy.mini12306.common.entity.TrainPassStation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @author: SongyangJi
 * @description:
 * @since: 2021/9/6
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DrivingPlanVO {

    /**
     * 列车
     */
    Train train;
    /**
     * 出发车站
     */
    TrainPassStation departStation;
    /**
     * 到达车站
     */
    TrainPassStation arrivalStation;

    Map<SeatType, Integer> seatNums;

    Map<SeatType, Float> seatPrices;

    /**
     * 间隔时间
     */
    int gap;

}
